package cn.edu.cxcyzx.service;

import cn.edu.cxcyzx.entity.User;
import cn.edu.cxcyzx.supervisor.ResultDo;

public interface UserService {
	
	public void insertUser(User u);
	
	public User getUser(String account);
	
	public void updateSecret(String account,String new_password);
	
	/**
	 * 验证登陆
	 * @param account
	 * @param pwd
	 * @return
	 */
	public ResultDo<Object> login(String account,String pwd);
}
